package cn.iocoder.yudao.module.biz.convert.risk.controlMeasures;

import java.util.*;
import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.module.biz.controller.admin.risk.controlMeasures.vo.BizControlMeasuresCreateReqVO;
import cn.iocoder.yudao.module.biz.controller.admin.risk.controlMeasures.vo.BizControlMeasuresExcelVO;
import cn.iocoder.yudao.module.biz.controller.admin.risk.controlMeasures.vo.BizControlMeasuresRespVO;
import cn.iocoder.yudao.module.biz.controller.admin.risk.controlMeasures.vo.BizControlMeasuresUpdateReqVO;
import cn.iocoder.yudao.module.biz.dal.dataobject.risk.controlMeasures.BizControlMeasuresDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 管控措施 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface BizControlMeasuresConvert {

    BizControlMeasuresConvert INSTANCE = Mappers.getMapper(BizControlMeasuresConvert.class);

    BizControlMeasuresDO convert(BizControlMeasuresCreateReqVO bean);

    BizControlMeasuresDO convert(BizControlMeasuresUpdateReqVO bean);

    BizControlMeasuresRespVO convert(BizControlMeasuresDO bean);

    List<BizControlMeasuresRespVO> convertList(List<BizControlMeasuresDO> list);

    PageResult<BizControlMeasuresRespVO> convertPage(PageResult<BizControlMeasuresDO> page);

    List<BizControlMeasuresExcelVO> convertList02(List<BizControlMeasuresDO> list);

}
